package com.wuzu.ecommerce.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分规则(Integral)实体类
 *
 * @author jsm
 * @since 2023-03-26 17:23:17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_integral")
public class Integral implements Serializable {
    private static final long serialVersionUID = 516946388411227179L;
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 规则名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 规则详情
     */
    @TableField(value = "info")
    private String info;

    /**更新时间*/
    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;
}
